Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reuse temp variables between sides of &&, || exprs #127

Merged

Conversation

laurenthuberdeau
Copy link
Collaborator

After evaluating the left side of a && or || expression, the temporary variables can be reused for the right side. The reduction in temporary variables makes pnut around 2-4% faster.

After evaluating the left side of a && or ||
expression, the temporary variables can be reused
for the right side. The reduction in temporary
variables makes pnut around 2-4% faster.
@laurenthuberdeau laurenthuberdeau merged commit 11525dd into main Jan 3, 2025
31 checks passed
@laurenthuberdeau laurenthuberdeau deleted the laurent/reuse-temporary-between-conditional-blocks branch January 3, 2025 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant